<%--
  Created by IntelliJ IDEA.
  User: 王淼
  Date: 2025/3/15
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
<head>
    <title>用户注册</title>
</head>
<body>
<form action="register" method="post">
    手机号：<input type="text" name="username" required>
    密码 ：<input type="password" name="password"required>
    验证码:<input type="text" name="code" required>
    <span style="border:1px solid #ccc; padding:2px;">${sessionScope.captcha}</span>
    <a href="javascript:location.reload()">换一张</a>
    <input type="submit" value="注册">
</form>
<p style="accent-color: aqua;">${errorMessage}</p>
<a href="login.jsp" >已有账号—>登陆</a>
</body>
</html>
